﻿using System;
using Hr.Models;
using Hr.Models.Common;

namespace Hr.Interfaces
{
    public interface IMain
    {
        /// <summary>
        /// 员工工资结算
        /// </summary>
        /// <param name="employeeId">员工ID</param>
        /// <param name="endDate">结算日期</param>
        void CalcSalary(string employeeId, DateTime endDate);

        /// <summary>
        /// 员工工资结算
        /// </summary>
        /// <param name="workTime">实际上班状况</param>
        /// <param name="salaryStandard">工资标准</param>
        void CalcSalary(EmployeeWorkTime workTime, SalaryStandard salaryStandard);
    }
}
